import axios from 'axios'
import http from './http'
const uploader = (files) => { 
  return  axios({
        method:'post',
        timeout: 2000,
        url:'http://image.sdxing.cn/image/uploadByBase64',
        data:{
            ...files
        }
    }) 
}
// 获取互动参与列表
const getInteractiveList = (openid, page,limit) => {
    return http.post(
        'api/interactive/getInteractiveList',
        {openid,page,limit}
    )
}
 
 
export {
    uploader,
    getInteractiveList  
}